@import 'base.less';
@import 'reset.less';
.layout{
    width:100% ;
    max-width: 640px;
    background-color: #eee;
    > .jd_top{
        width: 100%;
        height: 40px;
        background-color:rgba(233, 35,34, 0);
        position: fixed;
        padding-left: 76px;
        padding-right: 50px;
        overflow: hidden;
        z-index: 999;
        > .a_left{
            width: 56px;
            height: 30px;
            background: url("../img/jd-sprites.png");
            background-size: 200px 200px;
            background-position: 0px -108px;
            position: absolute;
            top: 7px;
            left: 10px;
            text-align: center;
            line-height: 30px;
        }
        > form{
            width: 100%;
             &::before{
                content: "";
                width: 27px;
                height: 23px;
                position: absolute;
                background: url(../img/jd-sprites.png);
                background-size: 200px 200px;
                background-position: -56px -108px;
                left: 80px;
                top: 9px;
            }
            > input{
                width: 100%;
                height: 30px;
                margin-top: 5px;
                outline: none;
                border: none;
                border-radius: 15px;
                padding-left: 30px;
            }
        }
        > .a_right{
            position: absolute;
            right: 5px;
            top: 0;
            width: 40px;
            height: 40px;
            text-align: center;
            line-height: 40px;
            color: #fff;
        }
    }
    > .jd_banner{
        width: 100%;
        position: relative;
        overflow: hidden;
        top: 0;
        left: 0;
        > .banner_img{
            position: relative;
            width: 800%;
            > li{
                float: left;
                width: 12.5%;
                img{
                    width: 100%;
                    vertical-align: bottom;
                }
            }
        }
        > .banner_circle{
            height: 10px;
            position: absolute;
            left: 50%;
            bottom: 5px;
            transform: translateX(-50%);
            > li{
                float: left;
                width: 6px;
                height: 6px;
                border-radius: 50%;
                border: 1px solid #fff;
                margin-right: 10px;
            }
            > li:last-of-type{
                margin-right: 0;
            }
            > .active{
                background-color: #fff;
            }
        }
    }
    > .jd_nav{
        width: 100%;
        background-color: #fff;
        > ul{
            width: 100%;
            > li{
                width: 25%;
                float: left;
                text-align: center;
                margin-top: 15px;
                img{
                    width: 50px;
                    display: inline-block;
                }
                p{
                    color: #666;
                    font-size: 14px;
                }
            }
        }
    }
    > .jd_quickKill{
        width: 100%;
        background-color: #fff;
        margin-top: 10px;
        > .kill_top{
            width: 100%;
            height: 30px;
            padding-top: 10px;
            padding-left: 10px;
            padding-right: 10px;
            .top_left{
                float: left;
                >.clock{
                    float: left;
                    width: 16px;
                    height: 20px;
                    background: url("../img/seckill-icon.png");
                    background-size: 16px 20px;
                    margin-right: 10px;
                }
                >.kill{
                    float: left;
                    color: @title_color;
                    margin-right: 10px;
                }
                >.time{
                    float: left;
                    span{
                        display: inline-block;
                        width: 13px;
                        height: 18px;
                        background-color: #000;
                        color: #fff;
                        text-align: center;
                        line-height: 18px;
                        
                    }
                    span:nth-of-type(3),
                    span:nth-of-type(6){
                        width: 6px;
                        color: #000;
                        background-color: transparent;
                    }
                    
                }
            }
           
            .top_right{
                float: right;
                font-size: 14px;
                color: #666;
            }
        }
        > .kill_bottom{
            width: 100%;
            padding-top: 30px;
            >ul{
                width: 100%;
                >li{
                    float: left;
                    width: 33.33%;
                    text-align: center;
                    img{
                        width: 60%;
                        display: inline-block;
                    }
                    p{
                        color: #000;
                        font-size: 12px;
                    }
                }
            }
        }
    }
    > .jd_supermarket{
        width: 100%;
        background-color: #fff;       
        > .market_top{
            width: 100%;
            height: 30px;
            line-height: 30px;
            margin-top: 20px;
            border-bottom: 1px solid #ccc;
            > h3{
                color: #666;
                font-size: 14px;
                margin-left: 30px;
            }
        }
        > .market_bottom{
            width: 100%;
            border-bottom: 1px solid #ccc;
            > a{
                width: 50%;
                float: left;
                border-left: 1px solid #ccc;
               
               > img{
                    width: 100%;
                    display: block;
                }
            }
            a:first-of-type{
                border-left: none;
            }
            a:nth-of-type(2){
                border-bottom: 1px solid #ccc;
            }
        }
    }
}